﻿@{
    Layout = null;
    ViewBag.Title = "个人中心";
    var user = ViewData["model"] as Pay.DTO.merchant_dto;
    var domain = ViewData["url"] as string;
}
<html>
<head>
    <meta charset="UTF-8">
    <title>个人中心</title>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="renderer" content="webkit">
    <meta name="keywords" content="">
    <meta name="description" content="">
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
    <meta name="format-detection" content="telphone=no, email=no" />
    <meta name="full-screen" content="yes">
    <meta name="x5-fullscreen" content="true">
    <meta name="msapplication-tap-highlight" content="no">
    <link rel="stylesheet" type="text/css" href="~/Content/css/reset.css" />
    <link rel="stylesheet" type="text/css" href="~/Content/css/gelunbu.css" />
</head>
<body style="background: #F0F0F0;">
    <div class="my">
        <div class="my_top">
            <a href="/User/Set" class="icon-set icon_my_1"></a>
            <a href="javascript:void(0)" class="icon-msg icon_my_1"></a>
            @if (user != null) {
                var src = domain + user.photo;
                if (string.IsNullOrEmpty(user.photo)) {
            <img src="~/Content/images/head_portrait.png" class="icon-picture" />
                } else {
        <img src="@src" class="icon-picture" />}
            } else {
        <img src="~/Content/images/head_portrait.png" class="icon-picture" />
            }
            <!--@if (user == null) {
        <div class="use">
            <a href="/Home/Login">登录</a>/<a href="/Home/Register"> 注册 </a>
        </div>
            } else {
        <div class="use">
            @user.name
        </div>
            }-->
			<div class="use">@user.name</div>
            <span class="useClass">@(string.Format("等级：{0}",ViewData["gradeName"]))</span>
        </div>
        <div class="all">
            <a href="/Order/OrderStayALL">
                我的订单
                <span class="see">查看全部订单</span>
            </a>
        </div>

        <div class="my_process">
            <ul class="my_pro_list">
                <li>
                    <a href="/Order/OrderStayPay">
                        <i class="i_my_pro i_my_pro_1"></i> 待付款
                    </a>
                </li>
                <li>
                    <a href="/Order/OrderStayDeliver">
                        <i class="i_my_pro i_my_pro_2"></i> 待发货
                    </a>
                </li>
                <li>
                    <a href="/Order/OrderStayReceipt">
                        <i class="i_my_pro i_my_pro_3"></i> 待收货
                    </a>
                </li>
                <li>
                    <a href="/Order/OrderStayFinish">
                        <i class="i_my_pro i_my_pro_4"></i> 已完成
                    </a>
                </li>
            </ul>
        </div>

        <div class="set mt12">
            <ul class="set_container">
                <li>
                    <a href="/User/Collect">我的收藏</a>
                </li>
                <li>
                    <a href="/User/AdressList">我的地址</a>
                </li>
				<li>
                    <a href="/User/profit">分润</a>
                </li>
                @*<li>
                    <a href="javascript:;">银行卡管理</a>
                </li>
                <li class="bd_bottom_none">
                    <a href="javascript:;">我的TAKD</a>
                </li>*@
                <li class="space"></li>
                <li>
                    <a href="javascript:;">客服中心</a>
                </li>
            </ul>
        </div>
    </div>

    <!--底部通用导航-->
    <div class="fixed_nav">
        <ul class="fixed_nav_container">
            <li>
                <a href="/Home/Index/" >
                    <i class="fnav_icon_box icon_1"></i> 首页
                </a>
            </li>
            <li>
                <a href="/Product/ProductCategory">
                    <i class="fnav_icon_box icon_2"></i> 分类
                </a>
            </li>
            <li>
                <a href="/ShopCart/ShopCartList" >
                    <i class="fnav_icon_box icon_3"></i> 购物车
                </a>
            </li>
            <li>
                <a href="/User/UserInfo" class="nav_hover">
                    <i class="fnav_icon_box icon_hover_4"></i> 我的
                </a>
            </li>
        </ul>
    </div>
</body>
</html>